import Vue from 'vue'
import './assets/css/base.css'
import './assets/js/font.js'
import App from './layouts/App.vue'
// import App from './components/cd-swiper/App.vue'
Vue.config.productionTip = false
// 阻止启动生产消息，常用作指令。

// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// Vue.use(ElementUI);

// import { NavBar } from 'vant';
// Vue.use(NavBar);

import router from './plugins/router.js';//路由的配置

import './global';//引入所有全局配置

import axios from './plugins/axios';

import {baseUrl} from './config';
Vue.prototype.$baseUrl = baseUrl; //配置接口服务器基础地址

let vm=new Vue({
  render: h => h(App),
  router,
  data:{
      bNav:true,
      bFoot:true,
      bLoading:true,
    },
}).$mount('#app')

export default vm

